package com.cl.entity;

import java.io.Serializable;

import javax.persistence.*;

import com.cl.entity.common.DBObject;

import java.util.Date;


/**
 * The persistent class for the CC_PAY_HISTORY database table.
 * 
 */
@Entity
@Table(name="CC_PAY_HISTORY")
public class CcPayHistory implements Serializable, DBObject {
	
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="CC_PAY_HISTORY_ID_GENERATOR", sequenceName="CC_PAY_HISTORY_SEQ", allocationSize=1, initialValue=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_PAY_HISTORY_ID_GENERATOR")
	private Long id;

	@Temporal(TemporalType.DATE)
	@Column(name="BEGIN_TM")
	private Date beginTm;

	@Column(name="CONFIRM_MAN", length=255)
	private String confirmMan;

	@Temporal(TemporalType.DATE)
	@Column(name="END_TM")
	private Date endTm;

	@Column(name="PATH", length=255)
	private String path;

	public CcPayHistory() {
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getBeginTm() {
		return this.beginTm;
	}

	public void setBeginTm(Date beginTm) {
		this.beginTm = beginTm;
	}

	public String getConfirmMan() {
		return this.confirmMan;
	}

	public void setConfirmMan(String confirmMan) {
		this.confirmMan = confirmMan;
	}

	public Date getEndTm() {
		return this.endTm;
	}

	public void setEndTm(Date endTm) {
		this.endTm = endTm;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	@Override
	public Object getPrimaryId() {
		// TODO Auto-generated method stub
		return id;
	}

	@Override
	public void setDcCreate(Date dcCreate) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Date getDcCreate() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setLastUpdate(Date lastUpdate) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Date getLastUpdate() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setDcEditor0(String dcEditor0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public String getDcEditor0() {
		// TODO Auto-generated method stub
		return null;
	}

}